import React from "react";
import { Outlet } from "react-router-dom";
import { Layout } from "antd";
import Header from "./components/Header";
import Aside from "./components/Aside";
import Bread from "./components/Bread";

export default function App() {
  return (
    <>
      <Layout id="app">
        <Header></Header>
        <div className="container">
          <Aside />
          <div className="container_box">
            <Bread />
            <div className="container_content">
              <Outlet />
            </div>
          </div>
        </div>
        <footer>respect | Copyright &copy; 2022 Autor inzv</footer>
      </Layout>
      <Outlet />
    </>
  );
}
